<% #endcoding:utf-8%>
<%=render partial: "shared/path_nav",locals:{:@paths=>[{name:'首页',url:'/'},{name:'问答'}]}%>

<div  class="panel">
  <div class="panel-heading">
    所有问题（<%=@questions.count%>）
  </div>
  <%if @questions.any?%>
  <ul class="list-group">
    <%=render partial: @questions%>
    <%=will_paginate @questions%>
  </ul>
  <%else%>
  <%=render partial: "shared/no_content"%>
  <%end%>
  <div class="panel-footer"></div>
</div>
